![]() |
DebuggerNewThreadProcPtr |
||||
Header: | Threads.h | Carbon status: | Supported | |
Defines a pointer to a new thread debugging callback function. A new thread debugging callback function is a debugging function that the Thread Manager calls whenever it creates a new thread.
typedef void(* DebuggerNewThreadProcPtr) ( ThreadID threadCreated );
You would declare your function like this if you were to name it MyDebuggerNewThreadCallback:
void MyDebuggerNewThreadCallback ( ThreadID threadCreated );
The thread ID of the thread being created.
Δ
The MyDebuggerNewThreadProc function is one of three debugging functions that you can install with the SetDebuggerNotificationProcs function. The Thread Manager calls MyDebuggerNewThreadProc whenever an application creates or allocates a new thread with the NewThread function. The Thread Manager does not call MyDebuggerNewThreadProc when an application creates a thread pool with the CreateThreadPool function.
Supported in Carbon.
© 2000 Apple Computer, Inc. — (Last Updated 3/8/2000)